package com.forest.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;

import java.util.Date;

@Data
@Builder
@TableName(value = "sys_app_info")
public class SysAppInfo {
    /**
     * ID
     */
    private String id;

    /**
     * 应用名称
     */
    @TableField(value = "app_name")
    private String appName;

    /**
     * APP KEY
     */
    @TableField(value = "app_key")
    private String appKey;

    /**
     * APP SECRET
     */
    @TableField(value = "app_secret")
    private String appSecret;

    /**
     * secret_key_sm4
     */
    @TableField(value = "secret_key_sm4")
    private String appSecretSm4;

    /**
     * secret_key_aes
     */
    @TableField(value = "secret_key_aes")
    private String appSecretAes;

    @TableField(value = "app_iv")
    private String appIv;

    /**
     * 状态(002001启用、002002禁用)
     */
    @TableField(value = "status")
    private String status;

    /**
     * 签名算法(摘要算法：MD2、MD5、SHA-1、SHA-256、SHA-384、SHA-512)
     */
    @TableField(value = "signature_algorithm")
    private String signatureAlgorithm;

    /**
     * 应用签名有效期，单位秒 默认300秒
     */
    @TableField(value = "expire_seconds")
    private Long expireSeconds;

    /**
     * 加密算法(SM4、AES)
     */
    @TableField(value = "encryption_algorithm")
    private String encryptionAlgorithm;

    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 删除标识(010001否、010002 是)
     */
    @TableField(value = "is_delete")
    private String isDelete;

    /**
     * 删除时间
     */
    @TableField(value = "del_time")
    private Date delTime;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;

    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;
}
